// 墙canvas子类
import canvasAbstract from './canvasAbstract';
import config from '../config';
import waterModel from '../model/water';

export default new (class water extends canvasAbstract implements ICanvas{
  name = 'water';
  num(): number {
    return config.water.num;
  }
  model(): ModelInterface {
    return waterModel;
  }
  render() {
    this.createModel();
    super.renderModel();
  }
})('water');